commit 5e66655e1456c9d26637ceaed3f4533b537322c4
Author: q66 <q66@chimera-linux.org>
Date:   Sat May 13 23:00:04 2023 +0200

    disable musttail on ppc
    
    41:38.04 LLVM ERROR: failed to perform tail call elimination on a call site marked musttail
    41:38.04 PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
    41:38.04 Stack dump:
    41:38.04 0.     Running pass 'Function Pass Manager' on module '/builddir/thunderbird-114.0_beta1/obj-powerpc64le-unknown-linux-musl/toolkit/library/build/../../../gfx/skia/SkOpts.o'.
    41:38.04 1.     Running pass 'PowerPC DAG->DAG Pattern Instruction Selection' on function '@_ZN8portableL15init_lane_masksEPNS_6ParamsEP21SkRasterPipelineStageffff'
    41:38.95 clang-16: error: unable to execute command: Aborted
    
    To be investigated later.

diff --git a/modules/skcms/src/skcms_internals.h b/modules/skcms/src/skcms_internals.h
index f3f0a2d..d695e40 100644
--- a/modules/skcms/src/skcms_internals.h
+++ b/modules/skcms/src/skcms_internals.h
@@ -48,6 +48,7 @@ extern "C" {
                                                  && !defined(__arm__) \
                                                  && !defined(__riscv) \
                                                  && !defined(__loongarch__) \
+                                                 && !defined(__powerpc__) \
                                                  && !defined(_WIN32) && !defined(__SYMBIAN32__)
             #define SKCMS_HAS_MUSTTAIL 1
         #endif
diff --git a/src/core/SkRasterPipeline.h b/src/core/SkRasterPipeline.h
index 5592061..43c4ebd 100644
--- a/src/core/SkRasterPipeline.h
+++ b/src/core/SkRasterPipeline.h
@@ -27,7 +27,7 @@ struct SkImageInfo;
 struct skcms_TransferFunction;
 
 #if __has_cpp_attribute(clang::musttail) && !defined(__EMSCRIPTEN__) && !defined(SK_CPU_ARM32) && \
-        !defined(SK_CPU_LOONGARCH) && !(defined(_WIN32) && defined(SK_BUILD_FOR_ANDROID_FRAMEWORK))
+        !defined(SK_CPU_LOONGARCH) && !(defined(_WIN32) && defined(SK_BUILD_FOR_ANDROID_FRAMEWORK)) && !defined(__powerpc__)
     // [[clang::musttail]] is disabled for the Android version of Skia running on Windows as it
     // causes crashes (This is probably related to http://crbug.com/1505442).
     #define SK_HAS_MUSTTAIL 1
